<?php
require_once 'modelAbstract.php';

class ProviderDTOModel extends AbstractModel {
	private $_name;
	private $_address;
	private $_img;
	private $_id;
	
	public function ProviderDTOModel($provider, $address, $imgRes) {
		$this->_id = $provider->getProviderID();
		$this->_name = $provider->getProvider();
		$this->_address = $address;
		$this->_img = $imgRes;
	}
	
	public function getName() {
		return $this->_name;
	}
	
	public function setName($value) {
		$this->_name = $value;
	}
	
	public function getAddress() {
		return $this->_address;
	}
	
	public function setAddress($value) {
		$this->_address = $value;
	}
	
	public function getImg() {
		return $this->_img;
	}
	
	public function setImg($value) {
		$this->_img = $value;
	}
	
	public function getId() {
		return $this->_id;
	}
	
	public function setId($value) {
		$this->_id = $value;
	}
}
?>